home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 1395 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: comma.rhein.de!serpens!not-for-mail
  2. From: mlelstv@serpens.rhein.de (Michael van Elst)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: problems with listview gadgets
  5. Date: 18 Jan 1996 18:58:26 +0100
  6. Organization: dis-
  7. Message-ID: <4dm1o2$86u@serpens.rhein.de>
  8. References: <4dllf5$cbl@sunrise.pg.gda.pl>
  9. NNTP-Posting-Host: serpens.rhein.de
  10.  
  11. kolo8@sparc10 (Stud.Kolo.Naukowe) writes:
  12.  
  13.       ^^^^^^^
  14.  
  15. Please fix your news setup.
  16.  
  17. >Anybody known how do this in E (or C) - how scroll gadget 
  18. >entries without using mouse?
  19.  
  20. There are two attributes that can be used to scroll the gadget:
  21.  
  22. GTLV_Top (WORD) - Top item visible in the listview.  This value will
  23.             be made reasonable if out-of-range (defaults to 0). (V36)
  24.  
  25. GTLV_MakeVisible (WORD) - Number of an item that should be forced within
  26.             the visible area of the listview by doing minimal scrolling.
  27.             This tag overrides GTLV_Top. (V39)
  28.  
  29. Set both in a single GT_SetGadgetAttrs call. Under V36 this will cause
  30. the entry to become visible at the top. Under V39 it will be visible
  31. anywhere in the gadget (thus avoiding unnecessary scrolling).
  32.  
  33. Regards,
  34. -- 
  35.                                 Michael van Elst
  36.  
  37. Internet: mlelstv@serpens.rhein.de
  38.                                 "A potential Snark may lurk in every tree."
  39.